package bean;

import java.sql.Date;

public class Text {


    private int id;
    private String name;
    private String novel;
    private int dianji;
    private Date time;
    private int wid;
    private int oid;
    private String oname;
    private String wname;

    @Override
    public String toString() {
        return "Text{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", novel='" + novel + '\'' +
                ", dianji=" + dianji +
                ", time=" + time +
                ", wid=" + wid +
                ", oid=" + oid +
                ", oname='" + oname + '\'' +
                ", wname='" + wname + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNovel() {
        return novel;
    }

    public void setNovel(String novel) {
        this.novel = novel;
    }

    public int getDianji() {
        return dianji;
    }

    public void setDianji(int dianji) {
        this.dianji = dianji;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getWid() {
        return wid;
    }

    public void setWid(int wid) {
        this.wid = wid;
    }

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public String getWname() {
        return wname;
    }

    public void setWname(String wname) {
        this.wname = wname;
    }

    public Text() {
    }

    public Text(int id, String name, String novel, int dianji, Date time, int wid, int oid, String oname, String wname) {
        this.id = id;
        this.name = name;
        this.novel = novel;
        this.dianji = dianji;
        this.time = time;
        this.wid = wid;
        this.oid = oid;
        this.oname = oname;
        this.wname = wname;
    }
}
